package edu.dzxx.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by ${纪雷} on 2020/05/21
 */
public class DataToStr {
    public static String DataToStr(Date date){
        SimpleDateFormat format=new SimpleDateFormat("YYYY-MM-dd HH:mm:ss");
        return format.format(date);
    }
}
